﻿using CommonLib;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GameInit : GameInstantiateSample
{

	protected override IEnumerator CorStartUp()
	{
		yield return new WaitForSeconds(m_LogoDelay);

		while (InitComplete != true)
		{
			yield return new WaitForEndOfFrame();
		}
		//JumpToLogin();
		//经由当前状态跳转
		GameStateStartUp startUp = ClientBase.StateController.CurrentState as GameStateStartUp;
		yield return startUp.EndStartUpState();
	}

}
